package com.asen.commons.exception;

import com.asen.commons.core.base.enums.ResultTypeEnum;
import com.asen.commons.core.base.ResultCode;

public class TypeException extends BaseException {
    public TypeException() {
    }

    public TypeException(String message) {
        super(message);
    }

    public TypeException(String message, String detail) {
        super(message, detail);
    }

    public TypeException(ResultTypeEnum type, String message) {
        super(type, message);
    }

    public TypeException(ResultTypeEnum type, String message, String detail) {
        super(type, message, detail);
    }

    public TypeException(ResultCode errorCode) {
        super(errorCode);
    }

    public TypeException(ResultCode errorCode, String message) {
        super(errorCode, message);
    }

    public TypeException(ResultCode errorCode, String message, String detail) {
        super(errorCode, message, detail);
    }

    public TypeException(Throwable cause) {
        super(cause);
    }

    public TypeException(String message, Throwable cause) {
        super(message, cause);
    }

    public TypeException(String message, String detail, Throwable cause) {
        super(message, detail, cause);
    }
}
